package com.huajx.tb.dto;

import java.io.Serializable;

/**
 * @program: di-parent
 * @description:
 * @author: lisa 叶新华
 * @create: 2019-08-28 17:39
 */
public class NengLongMessage implements Serializable {
    private String sync; //同步帧
    private String serialNo; // 序列号
    private String version; // 版本号
    private String deviceId; // 机器号
    private String command; // 功能号
    private byte[] body; // 完整包

    private int packageLength; // 包长

    public String getSync() {
        return sync;
    }

    public void setSync(String sync) {
        this.sync = sync;
    }

    public int getPackageLength() {
        return packageLength;
    }

    public void setPackageLength(int packageLength) {
        this.packageLength = packageLength;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }
}
